package com.meilai.project.vo.personal.handle;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 杨凯博
 * @date 2022/1/23 16:47
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class CheckHistoryVO {
    private Long id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
    private Date create_at;
    @ApiModelProperty(value = "审核结果（1 通过；2 退回；3 重审；4 抄送；5 加审）")
    private Integer type;
    @ApiModelProperty(value = "审核人")
    private String user;
    @ApiModelProperty(value = "审核意见")
    private String opinion;
    @ApiModelProperty(value = "审批节点id")
    private String node_id;
    @ApiModelProperty(value = "审批节点")
    private String node_name;
    @ApiModelProperty(value = "流程数据状态（0未提交；1流程中；2已通过；3已删除；4被退回）")
    private Integer wd_status;

    public CheckHistoryVO(Long id, Date create_at, Integer type, Integer wd_status) {
        this.id = id;
        this.create_at = create_at;
        this.type = type;
        this.wd_status = wd_status;
    }
}
